package com.qidian.mes.defect.service;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.DetectName;
import com.qidianit.mes.pojo.Detection;

public interface DetectionItemService {

    MESResult list(String detectionName,
                   String detectionType,
                   String detectionTool,
                   String detectionMethod,
                   String standardValue,
                   String unit,
                   Long errorCap,
                   Long errorLow,
                   int page,
                   int limit);

    MESResult save(DetectName detectName);

    MESResult update(DetectName detectName);

    //通过id查询这一条数据
    MESResult selectById(Long detectionId);


}
